package com.ccav.core.customer;

import com.ccav.api.mapper.CustomerMapper;
import com.ccav.api.pojo.Customer;
import com.ccav.api.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {

    @Autowired
    CustomerMapper customerMapper;

    @Override
    public List<Customer> pagingAll() {
        return customerMapper.selectByExample(null);
    }
}
